package br.com.base.business.impl.util;

import java.util.List;

public class UtilCollections {

	public static <OBJ> OBJ getFrist(List<? extends OBJ> list){
		if((list != null) && (list.size() > 0)){
			return list.get(0);
		}
		return null;
	}

	public static boolean isListaVazia(List<?> lista){
		return (lista == null) || (lista.isEmpty());
	}
}


